
// 导入方法文件
import websocket from "./functions/webSocket/webSocket.js"
import debounce from "./functions/webSocket/debounce.js"

// $cu挂载到uni对象上
const $cu = {
  
  websocket,
  debounce
}

// 全局注册
const install = Vue => {
  Vue.prototype.$cu = $cu
  Vue.prototype.$cu.eventBus = new Vue();
}
// 导出
export default {
  install
}
